﻿namespace CYPlayer
{
    using System.Windows;
    using System.Windows.Controls;
    using CYPlayer.ViewModel;

    public partial class PlaylistWindow : Window
    {
        public PlaylistWindow()
        {
            InitializeComponent();
        }

        private void MediaLibBtnClick(object sender, RoutedEventArgs e)
        {
            // var mediaLib = new MediaLibraryWindow(Owner);
            // Close();
            // Owner.Hide();
            // mediaLib.Show();
        }

        private void PLWindow_Closing(object sender, System.ComponentModel.CancelEventArgs e)
        {
            e.Cancel = true;
            this.Hide();
        }
    }
}
